<template>
  <el-container>
  <el-header></el-header>
  <div class="nav">
    <ul><li>全部商品</li>
    <li>商品分类</li>
    
    <li>生鲜水果</li>
    <li>精选水果</li>
    <li>送货到家</li>
    <li>我的中心</li></ul>
</div>
  <el-main>Main</el-main>
  <el-footer>Footer</el-footer>
</el-container>
</template>

<script>
  export default {
    data() {
      return {
        activeName: 'second'
      };
    },
    methods: {
      handleClick(tab, event) {
        console.log(tab, event);
      }
    }
  };
</script>

<style>
*{
  margin: 0px;
  padding: 0px;
}
  .el-header, .el-footer {
    background-color: #B3C0D1;
    color: #333;
    text-align: center;
    line-height: 60px;
  }
   .el-main {
    background-color: #E9EEF3;
    color: #333;
    text-align: center;
    line-height: 160px;
    height: 100vh;
  }
   body > .el-container {
    margin-bottom: 40px;
  }
  .nav{
    font-size: 20px;
    width: 100%;
    margin-left: 50px;
  }
  ul{
    margin: 0px;
    padding: 0px;
  }
  li{
    line-height: 60px;
    width: 100px;
    float: left;
    list-style: none;
    text-align: center;
  }
</style>